
[#include "single/layout/layout02/layout.ftl"/]
[@htmlHead]
<link href="${jpath}/assets/public/plugins/jqGrid/css/ui.jqgrid-bootstrap.css" rel="stylesheet" type="text/css"/>
[/@htmlHead]

[@htmlBody]
<div class="row">
    <div class="col-xs-12">
        <ul class="nav nav-tabs ">
            <li class="active">
                <a href="javascript:void(0)">
                    Demo列表
                </a>
            </li>
        </ul>
    </div>
</div>
<form class="form-horizontal" id="search-form">
    <div class="form-group">
        <label class="col-xs-12 col-sm-1 control-label" style="padding-right: inherit">中文名：</label>

        <div class="col-xs-12 col-sm-3">
            <input type="text" name="appName" class="form-control input-medium">
        </div>

        <label class="col-xs-12 col-sm-1 control-label" style="padding-right: inherit">英文名：</label>

        <div class="col-xs-12 col-sm-3">
            <input type="text" name="appNameCode" class="form-control input-medium">

        </div>
        <label class="col-xs-12 col-sm-1 control-label">状态：</label>

        <div class="col-xs-12 col-sm-2">
            <select name="isEnabled" class="form-control input-small">
                <option value=""></option>
                [#if statusItems?exists]
                    [#list statusItems as item]
                        <option value="${item.key}">${item.value}</option>
                    [/#list]
                [/#if]
            </select>
        </div>
        <div class="col-xs-12 col-sm-1">
            <button class=" btn btn-info btn-sm" type="button" onclick="doSearch()"><i></i>查找</button>
        </div>
    </div>
</form>
<div class="row">
    <div class="col-xs-12 mrg-b-md">
        <div id="indexAlert" class="hide" style="min-width:400px"></div>
        <button class="btn btn-primary  btn-sm" onclick="doAdd(0)"><i class="ice-icon fa fa-plus  white"></i>增加
        </button>
        <button class="btn default btn-sm black" onclick="doDelete()"><i
                class="ice-icon fa fa-trash-o  white" style="padding-right: 2px"></i>删除
        </button>
    </div>

</div>
<div class="row">
<div class="col-xs-12">

    <table id="jqGrid" class="auto_resize"></table>

    <div id="jqGridPager"></div>

</div>
</div>
[/@htmlBody]

[@htmlFoot]
<script type="text/javascript" src="${jpath}/assets/public/plugins/jqGrid/i18n/grid.locale-cn.js"></script>
<script type="text/javascript" src="${jpath}/assets/public/plugins/dialog/bootbox.js"></script>
<script type="text/javascript" src="${jpath}/assets/public/plugins/jqGrid/jquery.jqGrid.min.js"></script>
<script type="text/javascript" src="${jpath}/assets/public/plugins/jqGrid/jqGrid-extends.js"></script>
<script type="text/javascript" src="${base}/plugins/single/js/module/app/app.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        loadData();

    });
</script>

[/@htmlFoot]